<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>新增职位</title>
    {include file="common/linkcss" /}
</head>


<body>

    <div class="container-fluid">
        <div class="row">

            {include file="common/sidebar" /}

            <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">

                <div class="card border-primary  ">
                    <form action="{:url('add')}" method="POST" enctype="multipart/form-data">
                        <div class="card-header">
                            <h1 class="page-header">
                                新增职位
                            </h1>
                        </div>
                        <div class="card-body">
                            <div class="form-group">
                                <label class="col-form-label col-form-label-lg">所属部门【<a href="{:url('depart/add')}">录入部门</a>】</label>
                                <select class="form-control  form-control-lg" name="did">
                                    <option value="0">请选择部门</option>
                                    {volist name="depart" id="vo"}
                                    <option value="{$vo.id}">{$vo.name}</option>
                                    {/volist}
                                </select>
                            </div>
                            <div class="form-group">
                                <label class="col-form-label col-form-label-lg">职位名称</label>
                                <input class="form-control form-control-lg" name="name" type="text" placeholder="" required autofocus>
                            </div>
                            <div class="form-group">
                                <label class="col-form-label col-form-label-lg">职位英文描述</label>
                                <input class="form-control form-control-lg" name="des" type="text" placeholder="" required autofocus>
                            </div>
                            <div class="form-group">
                                <label class="col-form-label col-form-label-lg">职位类型</label>
                                <div class="form-group">
                                    <div class="custom-control custom-radio">
                                        <input type="radio" id="type[0]" class="custom-control-input" name="type" value="0"> <label class="custom-control-label" for="type[0]">普通职位</label>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="custom-control custom-radio">
                                        <input type="radio" id="type[1]" class="custom-control-input" name="type" value="1"> <label class="custom-control-label" for="type[1]">高级职位</label>
                                    </div>
                                </div>
                            </div>

                        </div>
                        <div class="card-footer">
                            <button type="submit" class="btn btn-primary btn-lg">确认提交</button>
                        </div>
                    </form>
                </div>


            </div>
            <!-- main end -->


        </div>
    </div>
    <!-- container end -->

</body>

</html>